<template>
  <div v-loading="loading" class="main">
    {{ textVal || dataModelBase.defaultValue }}
  </div>
</template>

<script>
import widget from '@/mixins/widget'

export default {
  mixins: [widget],

  data() {
    return {
      textVal: ''
    }
  },

  methods: {
    async getData() {
      await this.$nextTick()
      this.textVal = await this.httpRequest(this.interactParams)
    }
  }
}
</script>

<style lang="scss" scoped>
.main {
  font-size: 14px;
  color: #666666;
  line-height: 25px;
}
</style>
